home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / utility / uwserver.zip / uwserver.tar / h / uw_err.h < prev    next >
C/C++ Source or Header  |  1991-01-25  |  759b  |  25 lines

  1. /*
  2.  *    uw error codes
  3.  *
  4.  * Copyright 1986 by John D. Bruner.  All rights reserved.  Permission to
  5.  * copy this program is given provided that the copy is not sold and that
  6.  * this copyright notice is included.
  7.  */
  8.  
  9. #ifndef UW_ERR
  10. #define    UW_ERR
  11.  
  12. typedef int uwerr_t;
  13.  
  14. #define    UWE_NONE    0        /* no error */
  15. #define    UWE_ERRNO    1        /* system call error, consult errno */
  16. #define    UWE_NXTYPE    2        /* nonexistent window type */
  17. #define    UWE_DUPID    3        /* window ID duplicated (in use) */
  18. #define    UWE_NOTIMPL    4        /* operation not implemented yet */
  19. #define    UWE_NXSERV    5        /* non-existent server */
  20. #define    UWE_NOMEM    6        /* unable to allocate required memory */
  21. #define    UWE_INVAL    7        /* invalid argument to function */
  22. #define    UWE_NOCTL    8        /* no control file descriptor */
  23.  
  24. #endif
  25.